home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / Technical Documentation / Develop / develop Issue 28 / develop Issue 28 code / CurveLayout / AccurateShapesLibrary / ComputeLength.h < prev    next >
Encoding:
Text File  |  1996-09-20  |  620 b   |  21 lines  |  [TEXT/CWIE]

  1. // File:    ComputeLength.h
  2.  
  3.  
  4. #include <Types.h>
  5. #include <GXMath.h>
  6. #include <GXTypes.h>
  7.  
  8.  
  9.  
  10.  
  11.  
  12. //-----------------------------------------------------------------
  13. // Prototypes:
  14.  
  15. double GetCurveLength(gxCurve *theCurve);
  16. double GetLineLength(gxLine *theLine);
  17. void  CurveLengthToPoint(double theLength, gxCurve *theCurve, gxPoint *thePoint, gxPoint *theTangent);
  18. void  LineLengthToPoint(double theLength, gxLine *theLine, gxPoint *thePoint, gxPoint *theTangent );
  19. void DetermineSubCurve(gxCurve *theCurve, double a, double b, gxCurve *subCurve);
  20. void DetermineSubLine(gxLine *theLine, double a, double b, gxLine *subLine);
  21.